﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Ylh.FactoryDAL;

namespace Ylh.BLL
{
   public class SystemInfoBLL
    {
       Ylh.IDAL.IPcSystemInfo IsystemInfo = null;
       private string ConStr = string.Empty;

       public SystemInfoBLL(string ConStr)
       {
           IsystemInfo = DataAccess.CreateIsysInfo();
           this.ConStr = ConStr;
       }


       public string GetVersionCode()
       {
           return IsystemInfo.GetVersionCode(ConStr);
       }


       public bool UpdataVersionCode(string NewVersionCode)
       {
           return IsystemInfo.UpdataVersionCode(ConStr, NewVersionCode);
       }

    }
}
